const u = navigator.userAgent;
const isAndroid = (u.indexOf('Android') > -1 || u.indexOf('Adr') > -1) && window.ljc; //android终端
const isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) && window.setLogin; //ios终端
export {isAndroid, isiOS};
